package com.lkxicy.wos.service;

import com.lkxicy.wos.pojo.entity.Schedule;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lkxicy.wos.pojo.vo.ScheduleRecord;

import java.util.Date;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lkxicy
 * @since 2020-12-02
 */
public interface ScheduleService extends IService<Schedule> {

    public List<ScheduleRecord> findOneAllNowSchedule(String staffNumber);

    public List<ScheduleRecord> searchSomedaySchedule(Date searchTime);

    public String addSchedule(Date beginTime, Date endTime, List<String> staffNumbers, List<String> workContents);

    public String deleteSchedule(String staffNumber,Date workTime);

}
